package com.ctshk.rpc.workflow.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 审批人
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-01-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_sys_approval_member")
@ApiModel(value="SysApprovalMember对象", description="审批人")
public class SysApprovalMember extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "所属审批")
    private Long approvalId;

    @ApiModelProperty(value = "所属步骤")
    private Long stepId;

    @ApiModelProperty(value = "是否关联条件")
    private Integer isRelationCondition;

    @ApiModelProperty(value = "所属条件")
    private Long conditionId;

    @ApiModelProperty(value = "审批人类型(1 部门 2 员工)")
    private Integer approverType;

    @ApiModelProperty(value = "审批人ID")
    private Long approverId;

    @ApiModelProperty(value = "审批人姓名")
    private String approverName;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;


}
